/*
 * SchedulePlaces.java
 *
 * Created on February 22, 2007, 7:55 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package ge.info.domain.schedule;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Administrator
 */
public class SchedulePlace implements java.io.Serializable
{
    
    private int schedulePlaceID;
    private int mainID;
    private String placeName;
    private int scheduleTypeID;
    private List<ScheduleItem> scheduleItems; 
    
    public SchedulePlace()
    {
    }

    public int getSchedulePlaceID()
    {
        return schedulePlaceID;
    }

    public void setSchedulePlaceID(int schedulePlaceID)
    {
        this.schedulePlaceID = schedulePlaceID;
    }

    public int getMainID()
    {
        return mainID;
    }

    public void setMainID(int mainID)
    {
        this.mainID = mainID;
    }

    public String getPlaceName()
    {
        return placeName;
    }

    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public int getScheduleTypeID()
    {
        return scheduleTypeID;
    }

    public void setScheduleTypeID(int scheduleTypeID)
    {
        this.scheduleTypeID = scheduleTypeID;
    }

    public List<ScheduleItem> getScheduleItems()
    {
        if (scheduleItems == null)
        {
            scheduleItems = new ArrayList<ScheduleItem>();
        }
        return scheduleItems;
    }

    public void setScheduleItems(List<ScheduleItem> scheduleItems)
    {
        this.scheduleItems = scheduleItems;
    }
    
}
